//
//  ThreeDDirectView.h
//  WangLottery
//
//  Created by 黄修勇 on 12-4-26.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BellButton.h"

@class ThreeDSelectView;

@interface ThreeDDirectView : UIView<UIScrollViewDelegate>{

    UIScrollView *contentView;
    NSArray *selectViewArray;
    NSArray *bellSelectViewArray;
    
    UIPageControl *pageControl;
}

@property (nonatomic)NSInteger currentType;
@property (nonatomic,retain) IBOutlet UILabel *titleLabel;

- (void)randomSelect3Direct;

@end

@class BellSelectView;

@interface ThreeDSelectView : UIControl{

    @private
    UIImageView *bitBackImageView;
    UILabel *placeLabel;
    UILabel *bitLabel;
    UIScrollView *selectBellContentView;
    NSMutableArray *selectBellArray;
}

@property (nonatomic,readonly)NSMutableArray *selectNumArray;
@property (nonatomic)BOOL isSelected;
@property (nonatomic,retain)NSString *bitTitle;
@property (nonatomic,retain)NSString *placeholder;

@property (nonatomic,assign)BellSelectView *selectView;

-(BOOL)addNumber:(NSInteger)number;

-(BOOL)removeNumber:(NSInteger)number;

-(void)removeAllNumber;

-(void)reloadBellNumber;

-(void)randomBellNumber:(NSInteger)number;

@end


@interface BellSelectView : UIView

@property (nonatomic,assign)ThreeDSelectView *selectView;

-(void)bellDone:(BellButton *)btn;

-(void)removeNumber:(NSInteger)number;

-(void)randomNumber:(NSInteger)number;

- (void)removeAllnum;

@end